package com.anclick.englishword;

import android.app.Activity;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;

/**
 * Splash Image를 뿌린다.
 * 
 * com.anclick.englishword
 * SplashActivity.java
 *
 * @author junhwan_kim
 * @date 2011. 6. 13. 오전 10:52:35
 * @Version
 */
public class SplashActivity extends Activity {

	/**
	 * Splash Image를 3초간 뿌린후 종료한다.
	 * 
	 * @see android.app.Activity#onCreate(android.os.Bundle)
	 * @Method onCreate
	 * @param savedInstanceState
	 *
	 * @author junhwan_kim
	 * @date 2011. 6. 13. 오전 10:52:51
	 */
	@Override
	public void onCreate(Bundle savedInstanceState) {
	    super.onCreate(savedInstanceState);
	    setContentView(R.layout.splash);
	    
	    Handler handler = new Handler () {
	    	@Override
	    	public void handleMessage(Message msg) {
	    		finish();
	    	}
	    };
	    
	    handler.sendEmptyMessageDelayed(0, 3000);
	}

}
